home *** CD-ROM | disk | FTP | other *** search
/ ClipArt Heaven 2 / ClipArt Heaven 2.iso / utility / optiks31 / ok.doc < prev    next >
Text File  |  1992-08-21  |  78KB  |  1,905 lines

  1.                       OPTIKS
  2.  
  3.           Graphics Editor by Keith P. Graham
  4.  
  5. Thank you for choosing OPTIKS. OPTIKS is a system for viewing,
  6. scanning, printing and altering monochrome PC graphics files.
  7. OPTIKS can read and write many different graphic file types.
  8. OPTIKS is useful for converting files from one type to another,
  9. sizing files and changing files in many ways. OPTIKS is easy to
  10. use and easy to learn. It is a very complicated program in some
  11. ways, but it has very easy paths to let you do exactly what you
  12. need to do with a minimum of fuss.
  13.  
  14. Now that you have OPTIKS, what do you do next? 
  15.  
  16. First you will have to install OPTIKS (this takes about 2
  17. minutes).  You should practice for another few minutes, loading
  18. and saving a file, and then you should browse through the manual.
  19. The manual is nice to have, but it spends most of the time on the
  20. shelf. You will only have to use the manual if you are having a
  21. problem or trying to do something a little complicated. The
  22. manual has installation instructions, a few overview chapters,
  23. many examples of common things that you might want to try, and a
  24. series of discussions of all of the OPTIKS options. Start by
  25. installing OPTIKS and then try a few of the examples. You will be
  26. an expert in a few minutes and with good luck, never have to use
  27. the manual again. 
  28.  
  29.  
  30. TABLE OF CONTENTS 
  31.  
  32. 1. Installing OPTIKS 
  33. 2. Starting Up OPTIKS 
  34. 3. What is OPTIKS? 
  35. 4. How to Use the Menu Tree 
  36. 5. Selecting Files 
  37. 6. Viewing a Picture 
  38. 7. Help System 
  39. 8. Mouse and Keystrokes 
  40. 9. Keyboard Macros 
  41. 10. Altering an Image 
  42. 11. How to Save an Image 
  43. 12. Configuration options 
  44.     a. Screen Type
  45.     b. Virtual Screen Width
  46.     c. EMS Memory
  47.     d. Miscellaneous Options
  48.     e. Printer Options
  49.     f. Saving the CONFIG.OK file
  50.     g. Debug Break Points
  51. 13. Drawing 
  52. 14. Scanning 
  53. 15. Mandelbrots 
  54.   
  55. Appendix: 
  56.  
  57. A. Problems       
  58. B. Menu Tree      
  59. C. Example of converting a file
  60. D. Using Color 
  61. E. Using HP Soft Fonts 
  62. F. Supported File Formats 
  63. G. Canon Scanner Driver and Switches
  64.  
  65.  
  66. CHAPTER 1. Installing OPTIKS 
  67.  
  68. OPTIKS needs no special setup for most situations. The program
  69. will try to figure out what video screen you have and if you have
  70. a mouse and EMS memory. If you start up OPTIKS and get a blank
  71. screen, please refer to APPENDIX A. Installing OPTIKS only
  72. requires that you copy the OPTIKS programs to a disk where you
  73. can get at them.
  74.  
  75. Floppy disk installation 
  76. Copy OK.EXE to a floppy. Copy any OPTIKS screen fonts that you
  77. will be using to the floppy. For example: Put the OPTIKS disk in
  78. drive A: Put a blank formatted disk in drive B: At the dos prompt
  79. enter: COPY A:*.* B: This will copy all of the OPTIKS files (even
  80. some that you probably don't need) to the B: drive. Label the
  81. disk in B: OPTIKS and put the original disk with you other
  82. important disks in the back of the bottom shelf of the
  83. refrigerator (or some other cool safe place). Now to start OPTIKS
  84. from the floppy, from the A prompt enter: OK and press return.
  85. Don't write protect the Diskette.  OPTIKS may want to create a
  86. file called config.ok, and you may want to use the diskette for
  87. storage of some graphics files.
  88.  
  89. If you are not installing on a hard disk, skip over to the
  90. discussion of STARTING OPTIKS.  Installing OPTIKS on a Hard Disk.
  91.  
  92. On a hard disk, all packages (including DOS) should have their
  93. own sub directory to live in. The root directory should have the
  94. following files: COMMAND.COM, CONFIG.SYS and AUTOEXEC.BAT. The
  95. root directory should have only these three files and the list of
  96. subdirectories. If you have anything else on you root directory
  97. you are slowing down the operation of you hard disk. All programs
  98. should be located in separate directories for each subsystem.
  99. OPTIKS should have its own subdirectory. To create an OPTIKS
  100. subdirectory, you will have to be at a DOS prompt. The following
  101. assumes that you are installing OPTIKS on your C: disk and you
  102. want a subdirectory called OK.
  103.  
  104. Make sure that you are at the DOS C> prompt. If you have an A> or
  105. a B> enter "C:" and change to the C: disk. Next change up to the
  106. ROOT directory. This is the disks main directory, where all other
  107. directories start from. Enter: CD \ Press return. The slash used
  108. here is the "back slash". It tilts backwards. You should be at
  109. the root.
  110.  
  111. Some people have a prompt command in their AUTOEXEC.BAT (the
  112. command is PROMPT $P$G) that will show them which directory they
  113. are in. If you are not sure which directory you are in just type
  114. "CD" and press return, this will show you the current directory.
  115.  
  116. Next create the OK directory by entering: MD OK and press return. 
  117. The "MD" command stands for Make Directory. It will make a
  118. directory called OK. If you enter DIR after you finish making the
  119. directory, you will be able to see the OK subdirectory listed. If
  120. you get an "Unable to Create Directory" error it means that there
  121. already is an OK directory. The next step is to copy the files
  122. from the OPTIKS disk to the directory. Place the OPTIKS main
  123. diskette in drive A: and enter the following:
  124.  
  125.  COPY A:*.* OK 
  126.  
  127. There is no space between the : and the *.*. There are spaces
  128. between the COPY command and the A and before the OK. You don't
  129. have to use upper case letters with DOS. Press the return. This
  130. will copy all of the programs and information from the A: disk
  131. into the OK subdirectory.
  132.  
  133. When the copy is done, you can take the diskette in A: out and
  134. put it in a cool safe place. OPTIKS may come with some diskettes
  135. of sample graphics. You can copy this into the OK subdirectory,
  136. but some people like to keep pictures in a separate PIC
  137. subdirectory.  You can use the same procedures above or refer to
  138. your DOS manual to copy the pictures into a subdirectory. 
  139.  
  140.  
  141. CHAPTER 2. Starting Up OPTIKS 
  142.  
  143. Change to the OPTIKS directory by entering: CD\OK and pressing
  144. return. The main OPTIKS program is called OK.EXE if you are using
  145. floppies, you can start up OPTIKS by typing OK and pressing
  146. return. OPTIKS will start up right away and show you the OPTIKS
  147. logo and a menu. If you spelled the OPTIKS program name correctly
  148. and pressed return and got the message "Bad command or file name"
  149. then something is wrong. The easiest thing to do if you get this
  150. error is to enter DIR and see what you get. This will help you
  151. figure what is going on. For the OK command to work, OK.EXE must
  152. be on the current disk and current directory OR there must be a
  153. PATH set so that DOS can find the OK.EXE file. If you want to
  154. start OK then you either have to be on the C: disk in the OK
  155. directory or you have to set the path so that OK can be found.
  156.  
  157. The OPTIKS configuration file 
  158.  
  159. In OPTIKS it is possible to save your configuration. Your
  160. configuration includes things like your choice of printer and how
  161. much EMS memory you want to use. This is done by "KEEPING" your
  162. configuration. When you save a configuration the configuration us
  163. kept in a file called CONFIG.OK. OPTIKS looks for CONFIG.OK when
  164. it starts up. If it can't find the file, it uses defaults. 
  165. CONFIG.OK must be in the current directory when you start up or
  166. OPTIKS won't find it. CONFIG.OK is small so you may want to keep
  167. copies around wherever you start up OPTIKS. 
  168.  
  169. CHAPTER 3. What is OPTIKS? 
  170.  
  171. OPTIKS is a program for manipulating black and white images. 
  172.  
  173. OPTIKS is a large area into which pictures can be brought. You
  174. bring in the picture by using the FILE READ or FILE MERGE options
  175. from the menu. The FILE READ option cleans out the work space
  176. where the FILE MERGE option will set the picture into a frame
  177. that you specify.
  178.  
  179. Once the picture is in the work space you can copy it or alter it
  180. in various ways. You can save the picture by using the FILE SAVE
  181. option. You must tell OPTIKS how much of the picture to save. You
  182. don't want to save the entire work space. You would quickly fill
  183. up the disk with pictures surrounded by a lot of empty black
  184. space.  The OPTIKS work space is a lot wider than your screen.
  185. You can move around in it. In this way you can have pictures
  186. which are bigger than one screen. The width of the work space is
  187. called the VIRTUAL WIDTH. The length of the work space is called
  188. the VIRTUAL LENGTH.  Think of the screen in front of you as a
  189. window to look into the OPTIKS work space. The work-space holds
  190. the image data and the Video Screen is a window to look at the
  191. image data in the work space. Pressing the HOME key brings you to
  192. the upper left corner and pressing the END key brings you to the
  193. lower right corner. The area defined by Virtual Width and Virtual
  194. Length (it might be called Virtual Area) is limited by how much
  195. memory you have.
  196.  
  197. Memory is allocated when you start up OPTIKS right up to the
  198. maximum in you machine. If you have EMS memory OPTIKS will take a
  199. good chunk of that. The default width of the screen is 1024
  200. pixels wide. This is wider than most screens, but it is narrower
  201. than some pictures. A common problem is that pictures seem to be
  202. cut off on the right after loading. This is because the Virtual
  203. width is too small to handle the width of the picture. Change the
  204. Virtual width using the /ENVIR CONFIG VIRT menu options. Remember
  205. that by making the work-space wider you reduce the Virtual
  206. Length. This is because you have limited memory. If the image
  207. starts cutting off on the bottom you will have to reduce the
  208. Virtual Length or get more memory.
  209.  
  210. CHAPTER 4. How to Use the Menu Tree 
  211.  
  212. The main way of making OPTIKS work is through the Menu Tree.
  213. Check out the WHATS.NEW file on the OPTIKS distribution diskette
  214. to find out about latest additions and changes to OPTIKS. The
  215. Menu comes up all by itself when you start OPTIKS. You can press
  216. the / key to get it back after you have viewed a file. You can
  217. also press the Esc key. The / and the Esc work a little
  218. different. The / always brings you to the main menu. The Esc Keys
  219. brings you back to the last menu you were working from before you
  220. entered VIEW mode.  The menu consists of a line of options with a
  221. line of explanation below the options. One option is shown in
  222. reverse video. The explanation line is for the menu item that has
  223. the reverse video. If you use the cursor control keys you can
  224. move the reverse video to another menu item. The left and right
  225. arrows move the reverse video back and forth. The explanation
  226. line changes for each menu item. To select a menu item, move the
  227. reverse video to that item and press the Enter Key. This will
  228. either bring you to a new menu or to one of the OPTIKS functions.
  229.  
  230. You will notice that each menu item begins with a different
  231. letter.  If you press the first letter of any menu item it is the
  232. same as moving to that item and pressing enter. For example to
  233. read an Apple Mac picture you would could:
  234.  
  235. 1) Press the / key to bring up the main menu. 
  236.  
  237. 2) Move to the FILE menu item. 
  238.  
  239. 3) Press the enter key. 
  240.  
  241. 4) Move to the READ menu item. 
  242.  
  243. 5) Press the enter key. 
  244.  
  245. 6) Move the cursor to MAC. 
  246. 7) Press enter. 8) You will see a file selection list at this
  247.    point, move to the file you want and press enter. 
  248.  
  249.  ----OR---- 
  250.  
  251. Press /FRM enter and select the file. 
  252.  
  253. CHAPTER 5. Selecting a file. 
  254.  
  255. There are hundreds of graphics packages and most packages have
  256. unique file types. Originally the idea was to restrict a user to
  257. using only one graphics package, but experience shows that the
  258. more adaptable and flexible a package, the more it will be used.
  259. OPTIKS increases the usefulness of these packages by allowing
  260. transfers of data between them. In order to read or write a file,
  261. you must know 1) the kind of file, and 2) the file name.
  262.  
  263. Whenever you choose READ, WRITE, MERGE or INFO from the FILE menu
  264. you are presented with a list of file types. OPTIKS can read and
  265. write a large number of formats.
  266.  
  267. Sometimes OPTIKS can read a file, but can't write the same
  268. format.  In some cases, OPTIKS can write a format, but can't read
  269. it. The file formats are listed in alphabetical order.  You can
  270. use the cursor control keys to move around the list of file
  271. types. As you move, the file types are highlighted and a
  272. description of the file type is shown to you. You can press the
  273. first letter of the file type and you will jump immediately to
  274. the first match. Press the letter again and you will jump to the
  275. next match. When you have highlighted the file type that you
  276. want, press the enter key and you will go to the next step.
  277.  
  278. OPTIKS goes to the disk and finds all of the files that have the
  279. corresponding extension and shows you all of the files available. 
  280. If you see the message "No Matching Files" then the file
  281. selection criteria did not find any files. This message appears
  282. for a moment while OPTIKS searches your disk, but it should go
  283. away if any files are found.
  284. Selecting an existing file. 
  285.  
  286.  
  287.                ╔══════════════════════════════════════╗
  288.                ║           READ A FILE                ║
  289.                ║ Select a File Format and Press Enter ║
  290.                ║        Press Esc to Exit             ║
  291.                ╚══════════════════════════════════════╝
  292.     AutoCAD ACAD Slide
  293.       ╔════════════════════════════════════════════════════════╗
  294.       ║ ACAD SLD      EFS           PCR        * WIPS          ║
  295.       ║ ASCII         FAX           PCR FONT 1   WPG           ║
  296.       ║ AMIGA IFF     GEM           PCR FONT 2   ZSOFT PCX     ║
  297.       ║ ART           GIF           PCR FONT 3                 ║
  298.       ║ BASIC      *  HALO CUT      PCR FONT 4                 ║
  299.       ║ BLOAD CGA  *  HP PRINTER    PDA                        ║
  300.       ║ BLOAD EGA  *  HP SOFT FONT  PIG                        ║
  301.       ║ BLOAD AT&T *  IBM ISF       PMG                        ║
  302.       ║ BLOAD HERC *  LOTUS PIC     POSTSCRIPT                 ║
  303.       ║ BLOAD VGA  *  MAC           PRINT POWER                ║
  304.       ║ BLOAD EEGA *  MOUSE         PRINTSHOP                  ║
  305.       ║ BLOAD 720  *  MSP           RAS                        ║
  306.       ║ DCX           NEWSMASTER    RLE                        ║
  307.       ║ DEGAS         NEWSROOM PRO  TIFF                       ║
  308.       ╚════════════════════════════════════════════════════════╝
  309.  
  310. Fig. 1 Read File List Menu.
  311.  
  312. When you read a file or ask for information about a file, you
  313. must be talking about a file that already exists. If you are
  314. writing a file to disk you may be over-writing an existing file
  315. or naming a new file. To select an existing file, you can move
  316. the reverse video bar up and down and select the file you want.
  317. If there are more files than can appear on the screen at once you
  318. can use the PgUp and PgDn to move through the pages of files
  319. until you find the one you are looking for.
  320.  
  321. The file that you are looking for may not be found on the current
  322. disk or subdirectory. You may have to change the way OPTIKS looks
  323. for a file. You can press the / key or F10 to move the cursor up
  324. to the selection line. Correct the selection line to correctly
  325. match the disk, path and filename of the file you want.
  326.  
  327. For instance, when you want to read a MAC file OPTIKS expects the
  328. file name to end in the extension .MAC and lists *.MAC files. The
  329. *.MAC means list all files ending in .MAC. You may have the file
  330. on your disk as GRAPH.PIC. Even though it is a MAC file, you have
  331. it named as .PIC. (This is quite common. There is no standard
  332. naming convention for Apple Mac files.) You would have to press
  333. the / key from the file selection screen and change the *.MAC to
  334. *.PIC or even GRAPH.PIC and then press enter. You will be shown
  335. all of the matches. You can change the current working disk and
  336. subdirectory by retyping the information on the selection
  337. criteria line. OPTIKS remembers when you change the disk or
  338. directory and will use the new value every time you make a new
  339. selection.
  340.  
  341.  
  342. Writing to a new file. 
  343.  
  344.  
  345.                ╔══════════════════════════════════════╗
  346.                ║           SAVE A FILE                ║
  347.                ║ Select a File Format and Press Enter ║
  348.                ║        Press Esc to Exit             ║
  349.                ╚══════════════════════════════════════╝
  350.     AutoCAD Binary Drawing Interchange Format
  351.       ╔════════════════════════════════════════════════════════╗
  352.       ║ ACAD DXB      GEM           TIFF PACK                  ║
  353.       ║ ACAD DXF      GEMDRAW       WIPS                       ║
  354.       ║ ACAD SLD      HALO CUT      WPG                        ║
  355.       ║ ART           HP LETTER     ZSOFT PCX                  ║
  356.       ║ BASIC      *  MAC HEAD                                 ║
  357.       ║ BLOAD CGA  *  MAC NOHEAD                               ║
  358.       ║ BLOAD EGA  *  MOUSE                                    ║
  359.       ║ BLOAD AT&T *  MSP                                      ║
  360.       ║ BLOAD HERC *  PCR        *                             ║
  361.       ║ BLOAD VGA  *  PIG                                      ║
  362.       ║ BLOAD EEGA *  POSTSCRIPT                               ║
  363.       ║ BLOAD 720  *  RAS                                      ║
  364.       ║ COM           SYS                                      ║
  365.       ║ EFS           TIFF UNCOMP                              ║
  366.       ╚════════════════════════════════════════════════════════╝
  367.  
  368.  
  369. Figure 2. Save File List Menu.
  370.  
  371. When you save to a new file or print to disk, you are given the
  372. same selection screen that appears when you want to read a file.
  373. You don't usually want to select an existing file. If you did you
  374. would point to it and press enter, but this won't work when
  375. creating a new file. To write to a completely new file, press F9
  376. key to get to the file selection criteria line and enter the name
  377. of the file that you want to create. If OPTIKS can't find the
  378. file it will create it. You can change the disk and directory at
  379. the same time and OPTIKS will create the file on another disk or
  380. directory.
  381.  
  382. CHAPTER 6. Viewing a Picture 
  383.  
  384. After loading a picture, OPTIKS goes into VIEW MODE. VIEW MODE is
  385. when the MENU is not on the screen. The keys act differently in
  386. VIEW MODE. For instance, the right arrow does not, highlight a
  387. menu item, it moves the picture to the left. Whats really
  388. happening is the video screen window moves to the right. You can
  389. move your view of the image by using the keys to move the window
  390. to a different part of the image. The cursor control keys move
  391. you around the picture. End brings you to the lower right corner,
  392. Home brings you to the upper left corner. PgUp and PgDn move the
  393. window faster the than up and down arrows. You can use the CTRL
  394. key with the arrow keys to move faster.
  395.  
  396. When you are in VIEW mode you can return to the menu by pressing
  397. the / key. There are several "fast path" keys also available to
  398. you. You can refer to chapter 8 for keystrokes.
  399.  
  400. CHAPTER 7. Help System 
  401.  
  402. The F1 key is always HELP. But since memory is so important I
  403. have purposely left the help screens small. There are five help
  404. pages.  The help pages are: Cursor - for keys which control
  405. cursor movement. Range - for keys which control the range. Menu -
  406. a quick guide to using the menu. File - a little bit of
  407. information about entering file names. Keys - most of the OPTIKS
  408. keystrokes and fast paths.
  409.  
  410. CHAPTER 8. OPTIKS Mouse and Keystrokes 
  411.  
  412. OPTIKS was designed to be used quickly and efficiently from the
  413. keyboard. This allows single keystrokes to have a great deal of
  414. functionality. There are many keystrokes available to you,
  415. depending on where you are and what you are doing.
  416.  
  417. Mouse "keys" 
  418.  
  419. A Microsoft compatible mouse will give you the ability to move
  420. around in OPTIKS without using the keypad. The mouse acts like 
  421. the cursor control keys, Moving the mouse left is equivalent to 
  422. pressing the left arrow, moving the mouse to the right is 
  423. equivalent pressing the right arrow. Moving the mouse up and down
  424. is like the up and down arrows, moving the mouse fast is like
  425. holding down a cursor control key or pressing page up or page
  426. down.  The left button on the mouse is the Enter Key. The right
  427. button is the Esc Key. If you have a three button mouse the
  428. middle button is the / key.
  429.  
  430. Keys that are always available. 
  431.  
  432. No matter what is on the screen, there are a few keys that are
  433. always available. These keys can be pressed at any time without
  434. interfering with the current screen.
  435.  
  436. F1 - Help. This is the on- line help facility. To have full help
  437. the HELP.OK file must be in the OPTIKS start-up directory. Read
  438. chapter 6 on how to call up help and use it. 
  439.  
  440. ALT-G - this is the key to place a 16 by 16 pixel grid on the
  441. screen. This is useful for positioning objects. Press Alt-G once
  442. and the grid goes on. Press it again and it goes off. The grid
  443. disappears whenever the screen is cleared. 
  444.  
  445. ALT-N - Puts the name of the last file read on the bottom of the
  446. screen. 
  447.  
  448. Alt F1- F10 - Keyboard Macros. Macros are simply a list of
  449. keystrokes which can be started by pressing the ALT and one of
  450. the function keys. See chapter 9 for help on keyboard macros. 
  451.  
  452. Ctrl-Break - Pressing the Ctrl Key and break (scroll-lock) at the
  453. same time causes the main menu to appear. This upsets DOS and in
  454. DOS 3.3 and 4.0 it is possible to get a "stack overflow" message
  455. from DOS which will blow you out of the water. If you get this
  456. message you MUST reboot in order to clear DOS and start any
  457. programs. I consider this a DOS bug in 3.3 and 4.0. In any event,
  458. avoid pressing Ctrl- Break unless you are in real trouble. Try
  459. the F9, F10, / and Esc keys first. These keys generally give you
  460. better results than Ctrl-Break.
  461.  
  462. MENU Keystrokes. 
  463.  
  464. When the menu is on the screen, you are in MENU MODE. Menu mode
  465. is where you make selections for performing various tasks. When
  466. you are in menu mode you can:
  467.  
  468. 1) select a new menu item, 
  469.  
  470. 2) select a task, 
  471.  
  472. 3) leave the menu, 
  473.  
  474. 4) ask for help. 
  475.  
  476. Moving around the menu was described in chapter 4. If you have
  477. not read chapter 4 and you don't understand how to move around in
  478. a menu you should turn to chapter 4 and learn how to move around
  479. the menu tree. The left and right arrows, the Enter key and the
  480. Esc key were described in chapter 4 for moving around in the
  481. menu. There are additional live keys which can be used for other
  482. functions. The following keys are "alive" while in menu mode.
  483.  
  484. F10 - Leave the menu. 
  485.  
  486. F10 will knock you out of the menu and into VIEW MODE. VIEW MODE 
  487. is where you can scroll around inside the virtual work-space and
  488. look at the picture. 
  489.  
  490. ESC - Moves up one level in the menu tree. If you keep moving up
  491. a level, you will eventually move completely back to VIEW MODE. 
  492.  
  493. When the Hour Glass is on the screen it means "please wait". It
  494. appears when OPTIKS is reading and writing a file or working on a
  495. portion of the screen. You can clear the screen and display the
  496. work in progress by pressing Alt-C. This is especially useful for
  497. Mandelbrots which can take hours to days to finish. The screen
  498. does not clear immediately, but will clear when finished with the
  499. current line. The work so far will be shown. Pressing the escape
  500. while the hour glass is on the screen will abort the current
  501. process.
  502.  
  503. Chapter 9. The OPTIKS Command Line and Keyboard Macros 
  504.  
  505. The command OK will start up OPTIKS.  This is the normal way to
  506. enter into OPTIKS. Once in OPTIKS you would use the keyboard or
  507. the mouse to manipulate graphics. There are times when it may be
  508. convenient for OPTIKS to do some action from a BAT file or from
  509. the command line. You can do this by entering: OK keystrokes The
  510. keystrokes are the slash key: "/" and any valid sequence of
  511. OPTIKS menu items. Menu items, if you recall, can be entered by
  512. typing the first letter of each item. There are a few special
  513. keys also. They are:
  514.  
  515. ~ (tilde) = Return key 
  516.  
  517. ^ (hat) = Escape Key 
  518.  
  519. @ = Home 
  520.  
  521. ! = End 
  522.  
  523. ? = Wait forever for a keystroke 
  524.  
  525. If the escape is pressed, the key sequence ends.  
  526.  
  527. $ = wait 2 seconds 
  528.  
  529. If the escape is pressed, the key sequence ends. 
  530.  
  531. * = restart the command line. 
  532.  
  533. This is for slide shows. 
  534.  
  535. + = up arrow 
  536.  
  537. - = down arrow 
  538.  
  539. ( = left arrow 
  540.  
  541. ) = right arrow 
  542.  
  543. ;x= start macro number x, x = 0 to 9 
  544.   
  545.  
  546. An Example: 
  547.  
  548. OK frm~/!c:\ok\reflect~~$$$/qy 
  549.  
  550. Does the following: 
  551.  
  552. f=FILE  
  553.  
  554. r=READ 
  555.  
  556. m=MAC 
  557.  
  558. ~=Enter 
  559.  
  560. /=jump up to 
  561.  
  562. filespec area 
  563.  
  564. !=END (clears any found names from the line) 
  565.  
  566. reflect=name of mac file "C:\OK\REFLECT.MAC" 
  567.  
  568. ~=return 
  569.  
  570. - do it twice 
  571.  
  572. $$$$$=wait 10 seconds 
  573.  
  574. /=menu 
  575.  
  576. q=QUIT 
  577.  
  578. y=YES 
  579.  
  580.  
  581. USING MACROS: 
  582.  
  583. If you find yourself doing the same thing over and over again you
  584. can put the keystrokes into a Macro. Use /CM to enter macros 1 to
  585. 10. Once the macro is entered you can use ALT-1 to ALT-0 to start
  586. the macro up. The special keys used on the command line (see
  587. OPTIKS COMMAND LINE) are the same symbols used for macros. The
  588. command line is a special case of macros. A macro is a series of
  589. keystrokes that will be entered from the macro just as though you
  590. entered them from the keyboard. If you save you config.ok file by
  591. entering /ECK you will also save any macros you have entered. You
  592. can have a macro start up automatically by entering something
  593. like: OK ;1 The semicolon means jump to a macro, in this case
  594. macro 1. Macro 1 can end in ;2 which would make it jump to macro
  595. 2. Here is an example to load print a potion of a file:
  596.  
  597. /ppr@~------------)))))))))))~g;2 
  598.  
  599. This is / to start off, P for print, P for printer, @ for home, ~
  600. for return, - for down, ) for right, another ~ for return and g
  601. to go. The ;2 means jump to another macro, in this case 2. If the
  602. 2 macro printed out another portion of the screen, you could be
  603. chaining together macros to print a large picture. In total,
  604. macros can add up to 700 pre-recorded keystrokes. Pressing the
  605. Esc key will always kill a running macro. CHAPTER 10. Altering an Image 
  606.  
  607. Once an image has been loaded into memory you may alter the image
  608. in various ways. The IMAGE menu selection allows for moving parts
  609. of images, sizing parts of images and rotating images. You may
  610. enter the IMAGE menu from the Main menu or by pressing the "I"
  611. key when viewing an image.
  612.  
  613. The image menu is a list of all of the IMAGE operations that may
  614. be performed on the picture. You may move through the various
  615. options, and as you do a description will appear giving a simple
  616. explanation of what the function can do.
  617.  
  618.  
  619.               ╔══════════════════════════════════════╗
  620.               ║         IMAGE ALTERATION             ║
  621.               ║   Make a Selection and Press Enter   ║
  622.               ║        Press Esc to Exit             ║
  623.               ╚══════════════════════════════════════╝
  624.     Fill a box with Current Pattern
  625.       ╔══════════════════════════════════════════════════════╗
  626.       ║ BFILL         ERODE         MIRROR        SIZE       ║
  627.       ║ BLANK         FADE          NEGATE        SMOOTH     ║
  628.       ║ BLUR          FAT BITS      OVERLAY       TALLER     ║
  629.       ║ CLIP          FLIP          RTILT 1       THIN       ║
  630.       ║ COPY          INLAY         RTILT 2       TURN       ║
  631.       ║ CONTRAST      LINE XOR      RTILT 1/2     UNSTEP     ║
  632.       ║ DEPOS         LTILT 1       SHADE         WASH       ║
  633.       ║ DOUBLE        LTITL 2       SHORTEN       WHITE OUT  ║
  634.       ║ EDGE          LTILT 1/2     SHRINK        WIDEN      ║
  635.       ╚══════════════════════════════════════════════════════╝
  636.  
  637.  
  638.  
  639. Figure 3. Image Menu. 
  640.  
  641.    
  642. OPTIKS is non-destructive in that it does not erase a portion of
  643. the picture unless something is actually put on top. For example,
  644. if you decide to halve a section of the screen, you will see the
  645. new smaller picture on top of the original picture. Just because
  646. you shrank a portion of the screen it does not mean that OPTIKS
  647. erased the old image. The old image will remain with the new
  648. image on top of it.
  649.  
  650. ROTATE rotates an image 90 degrees clockwise. The ROTATE option
  651. always rotates a square. Your screen may have an odd aspect ratio
  652. (CGA is 3.2 to 1) so that you may not see a square on the screen. 
  653. The area to be rotated is determined by the horizontal length of
  654. the range. ROTATE ignores any vertical range that you may have
  655. indicated.
  656.  
  657. COPY takes a section of an image and copies to another section of
  658. the work space.
  659.  
  660. The steps for copying a range are: 
  661.  
  662. 1) Select COPY from the IMAGE menu. 
  663.  
  664. 2) Move the finger to the upper left hand portion of the area to
  665. be copied. Press Enter. 
  666.  
  667. 3) Move the finger to the lower right hand corner of the range
  668. and press enter. 
  669.  
  670. 4) When you move the finger now, the whole box will move. Move
  671. the range to where the range is to be copied and press return. 
  672.  
  673. 5) You may use this function to STAMP a picture over and over
  674. again. Press Esc when you are done copying. 
  675.  
  676. The HALVE option makes a picture half size. This is like SCALE,
  677. but it is faster and a fixed 1/2 size.
  678.  
  679. SHORTEN squashes down a picture by taking out every other line. 
  680.  
  681. NARROW takes out every other dot in the horizontal direction
  682. making the picture 1/2 of its original size.
  683.  
  684. DOUBLE makes a picture twice its size.
  685.  
  686. WIDER doubles every dot making the picture twice as wide.
  687.  
  688. TALLER doubles every line, making the picture twice as tall.
  689.  
  690. The TILT functions will make a portion of the image lean to the
  691. left or right. The functions will tilt various amounts. These
  692. functions will take text and make it ITALIC. 
  693.  
  694. RTILT 1 tilts to right, 1 dot for every 1 vertical dot. 
  695.  
  696. RTILT 2 tilts to right, 2 dot for every 1 vertical dots. 
  697.  
  698. RTILT 1/2 tilts to right, 1 dot for every 2 vertical dots. 
  699.  
  700. LTILT 1 tilts to left, 1 dot for every 1 vertical dot. 
  701.  
  702. LTILT 2 tilts to left, 2 dot for every 2 vertical dots. 
  703.  
  704. LTILT 1/2 tilts to left, 1 dot for every 2 vertical dots. 
  705.  
  706. OVERLAY is exactly like COPY, but the COPY is transparent.  This
  707. copies a range on top of an image without destroying the picture
  708. underneath. 
  709.  
  710. INLAY is similar to overlay except the image is XORED onto the
  711. image underneath it. This gives interesting ghosting effects. The
  712. OPTIKS logo on the start up screen was created by inlaying an
  713. image of radiating lines onto the word OPTIKS. 
  714.  
  715. ZOOM allows you to edit fat bits. Use the SPACE bar to make a fat
  716. bit black, use the enter key to make it white. 
  717.  
  718. SCALE allows you to change the size of an image. First select the
  719. range of the image to be scaled then enter the new size of that
  720. range. 
  721.  
  722. The WHITE OUT option will "white-out" sections of a picture. 
  723.  
  724. The MIRROR selection will make a range in the picture a Mirror
  725. image. 
  726.  
  727. The NEGATE selection will make all black dots white and all white
  728. dots black. 
  729.  
  730. BLANK will make a portion of the picture black. 
  731.  
  732. FLIP will turn a range upside down. 
  733.  
  734. EDGE looks at the image and finds dots where a picture changes
  735. from black to white. If a dot is white and surrounded by white,
  736. it is ignored. The same is true of a black dot surrounded by
  737. black dots, but dots on an edge are turned white. This makes for
  738. very interesting special effects. It is best done several times
  739. so that the edges get edges.
  740.  
  741.  
  742. XOR LINE, is a way of simplifying the picture. Each line is
  743. turned black and only new dots which did not exist in the line
  744. above it are shown. This is useful to eliminate regions of white
  745. to make a cartoon effect. It does strange things to dithered data
  746. and may be useful as a special effect.
  747.  
  748. CONTRST is a Contrast increaser. It examines a range and lightens
  749. the light areas and darkens the dark areas. 
  750.  
  751. GRAY examines every pixel on the screen and makes it a dot
  752. depending on the relative level of dark or light in the
  753. surrounding pixels. This evens out some dithered areas and makes
  754. them more uniform. 
  755.  
  756. SMOOTH is similar to GRAY, but it keeps a rolling average so that
  757. the total lightness or darkness of the picture does not change.
  758. Both gray and smooth tend to blur the image a little. 
  759.  
  760. WASH checks for white dots on a black background and black dots
  761. on a white background. If it finds lone dots, it will get rid of
  762. them. This is useful for cleaning up pictures with noise or dirty
  763. places with random dots. 
  764.  
  765. UNSTEP looks for "jaggies" which are areas with a sharp right
  766. angles. UNSTEP will fill in these areas and smooth out a range.
  767. Be aware that it will also take a place where you want a sharp
  768. angle and smooth it off. UNSTEP works best after you use DOUBLE
  769. (see above.) 
  770.  
  771. SHADE Makes every other dot black to give interesting faded
  772. looks.
  773.  
  774. DARKEN makes every other dot white. 
  775.  
  776. ERODE chips away at the white space on the disk and cleans up
  777. loan dots. 
  778.  
  779. DEPOS deposits dots on other dots to build up white and erode
  780. black space. 
  781.  
  782. CLIP erases all of a screen except the range. 
  783.  
  784. CHAPTER 11. How to Save an Image 
  785.  
  786. After you have read in an image and done whatever needed to be
  787. done to the image, it may be necessary to save the image.  
  788. The PCR format is a way of saving pictures in a very compressed
  789. format. Only OPTIKS uses PCR files. Saving an image is done by
  790. selecting FILE/SAVE from the menu. You are given a list of
  791. possible file formats for saving. Select one by moving the
  792. highlighted bar to that item and pressing enter. You then must
  793. indicate the range of the area to save.
  794.  
  795. This allows you to save a whole picture or just a part of the
  796. picture. Move the finger to the upper left hand side of the image
  797. and press enter and then move to the lower right hand side and
  798. press enter. Once the range is selected then the file selection
  799. menu will appear. If you want to save this as a new file then
  800. press the F9 key and type the name of the file. If you want to
  801. replace an existing file, point to the file and press enter. The
  802. hour glass will appear and the file will be saved.
  803.  
  804. Chapter 12. Configuration options 
  805.  
  806. Although OPTIKS comes preconfigured for most applications, you
  807. may have a need to change one or more of the various options. You
  808. may also want to keep your configuration. OPTIKS will create a
  809. file called CONFIG.OK on the current directory whenever you ask
  810. to KEEP a configuration. The next time you start up OPTIKS, the
  811. program will look on the current directory for the CONFIG.OK file
  812. and use the information that it finds there. All of OPTIKS
  813. configuration options are found in the ENVIRN menu option from
  814. the main menu. The ENVIRN menu items are:
  815.  
  816. CONFIG BREAK SCREEN MACROS ERASE 
  817.  
  818. CONFIG leads to the Configuration menu (see below). 
  819.  
  820. a. Screen Type 
  821.  
  822. OPTIKS is a graphics editor at heart, but unlike various systems 
  823. which present a virtual device interface, OPTIKS uses what you've
  824. got as simply as it can. This means that your hardware dictates
  825. what you get. OPTIKS in no way claims to be WYSIWYG. OPTIKS is
  826. quite the reverse. OPTIKS will not display circles on your screen
  827. as round (unless by accident). You will see every dot in the
  828. graphic. Sometimes a package like GEM paint will show a different
  829. image than OPTIKS for the same file. This is because GEM Paint
  830. attempts to be WYSIWYG using its VDI (virtual device interface). 
  831. OPTIKS shows the actual contents of a file and allows you to
  832. change it without an intermediate program trying to figure what
  833. it is you really mean. When you use OPTIKS to print, the same
  834. kind of thing happens. OPTIKS will print every dot that you tell
  835. it to, at the resolution that you specify. This will sometimes
  836. make for a distorted image, but OPTIKS puts the onus on you to
  837. control your environment. OPTIKS tries to figure the best screen
  838. mode when it starts up. The search for a proper screen goes like
  839. this:
  840.  
  841. Check for CONFIG.OK 
  842.  
  843. Check for VGA 
  844.  
  845. Check for EGA 
  846.  
  847. Check for VESA 
  848.  
  849. Check for AT&T 6300 
  850.  
  851. Check for hercules 
  852.  
  853. Go to CGA mode 
  854.  
  855. It's possible to wind up in the wrong mode if you are on a
  856. non-standard video that does not show up as VGA or CGA and looks
  857. like Hercules. This happens also when you are in a VGA card
  858. hooked up to a monochrome monitor (such as the Nec Multisync GS). 
  859. The cure is to start up with the command line string of ESICM for
  860. example:
  861.  
  862. OK ?
  863.  
  864. This will place you in CGA mono mode. From this screen you can go
  865. back and select IBM EGA 640*350 or whatever mode works best for
  866. you. The SCREEN option which is accessed from the ENVIRN menu
  867. controls the display screen type. OPTIKS makes a best guess shot
  868. at determining a screen when you start up. This is not always
  869. correct. You can select a screen type which OPTIKS will force
  870. itself to use when it starts up. You can also use the screen
  871. option to see what an image looks like on other systems.
  872.  
  873. WARNING: Selecting a screen type incompatible with your hardware
  874. could cause OPTIKS to freeze or cause monitor damage. Actual
  875. hardware damage is possible but extremely unlikely. Running
  876. OPTIKS on a an IBM Monochrome Adapter with no graphics ability
  877. can cause OPTIKS to damage the monitor.
  878.  
  879. If you know a computer has no graphics ability then there is no
  880. point in even attempting to run OPTIKS. If you select a screen
  881. option which causes the screen to blank out, but the Escape key
  882. still causes a blip sound every other time it is pressed, you can
  883. still exit OPTIKS without a problem. Press Ctrl-Break. Press Q
  884. and then Y. This will always work to exit you from OPTIKS. This
  885. is not the recommended way to exit OPTIKS, but it should always
  886. work.  Ctrl-Break will upset some DOS versions so use it only to
  887. break out of OPTIKS.
  888.               ╔══════════════════════════════════════╗
  889.               ║      VIDEO CARD SELECTION            ║
  890.               ║   Make a Selection and Press Enter   ║
  891.               ║        Press Esc to Exit             ║
  892.               ╚══════════════════════════════════════╝
  893.     AMDEK or WYSE 1280 Black and White 640*400 mode
  894.       ╔══════════════════════════════════════════════════════╗
  895.       ║ AMDEK         EGA COLOR    MAXXON    VGA             ║
  896.       ║ ATI PRISM     EV-673       MCGA      VIDEO 7         ║
  897.       ║ ATI VGA       GEN 5200     NEC       VIDEO 7         ║
  898.       ║ ATI VIPS      GENIUS       ORCHID    VIDEO 7         ║
  899.       ║ AT&T 6300     GENOA VGA    PARADISE                  ║
  900.       ║ CGA MED       GENOA VGA    PARADISE                  ║
  901.       ║ CGA HIGH      GENOA VGA    STB                       ║
  902.       ║ COMPAQ        HERCULES     TOSH 3100                 ║
  903.       ║ EGA MONO      LOGIX        TSENG                     ║
  904.       ╚══════════════════════════════════════════════════════╝
  905.  
  906. Figure 4. Video Selection Menu 
  907.  
  908. OPTIKS supports CGA medium and high resolution modes, EGA and VGA
  909. graphics modes, Hercules and AT&T and a few Enhanced EGA and VGA
  910. modes. Although OPTIKS does not support color fully, it is
  911. possible to load and view color pictures by using the PLANES
  912. options. 1 plane = 2 colors, 4 planes = 16 colors. Color modes
  913. are for viewing graphics. Do not try image functions on a color
  914. picture. Do not try to save a color image to a black and white
  915. format (eg. Color PCX to MAC). Do not try to load a black and
  916. white image while planes are set to 4.
  917.  
  918. IBM VGA supports the two standard VGA graphics modes for 640 by
  919. 400 These modes are useful in that they offer a better aspect
  920. ratio than other screen modes. Circles tend to be round in these
  921. modes.
  922.  
  923. AT&T is for the AT&T 6300 mode monochrome graphics. This graphics
  924. mode is the reason why many people purchased AT&T 6300 systems
  925. which work well with OPTIKS. However, OPTIKS scans for the 6300
  926. BIOS signature and will send you into 6300 automatically. If you
  927. disable the 6300 screen in order to put another graphics card in,
  928. OPTIKS will still think that you are a 6300 and this can cause
  929. OPTIKS to go into the wrong mode. You must use the OK ? command
  930. line to get to IBM CGA MONO mode to bypass the automatic screen
  931. detect and then select the correct screen mode. Use KEEP so that
  932. in the future OPTIKS will not try to use the AT&T mode.
  933.  
  934. HERC is Hercules Graphics Mode. There is no standard way to
  935. detect a Hercules card. The standard schemes do not always detect
  936. clone Hercules cards. OPTIKS looks to see if the Hercules
  937. Graphics memory is available and if it finds something then will
  938. assume that you may have a Hercules card. If you start up in
  939. monochrome text mode and you don't have an EGA or VGA or AT&T,
  940. the assumption must be that you have a Hercules card. This
  941. assumption is sometimes wrong.  You can use the OK ? to start
  942. OPTIKS if you have a screen which can use the CGA modes (which is
  943. almost everyone) to bypass the Hercules testing. 1280 is the Wyse
  944. or Amdek 1280 system. This system will start up correctly in CGA
  945. mono mode. Use this option to enter the 640*400 mode of this
  946. system.
  947.  
  948. COMPAQ is for the Compaq portable computers which use AT&T type
  949. graphics modes. This selection will not scan for the AT&T bios
  950. signature.
  951.  
  952. TOSHIBA is for the Toshiba 3100 special graphics modes.
  953.  
  954.  
  955. b. virtual screen width 
  956.  
  957. OPTIKS starts up by default with a virtual screen width of 1024
  958. pixels. This is fine for most small graphics files. Some larger
  959. graphics will be cut off on the right edge because the width of
  960. the OPTIKS work- space is only 1024. To increase the virtual
  961. screen width enter:
  962.  
  963.  /ECV 
  964.  
  965. This is Environment Config Virtual. You will be given the
  966. following menu: 
  967.  
  968. 1024 2048 4096 8192 EMS DISPLAY 
  969.  
  970. You would select a virtual screen width from 1024 to 8192 by
  971. moving to the correct item and pressing enter. EMS allows for
  972. control over the allocation of EMS memory and DISPLAY will show
  973. you your memory allocation.
  974.  
  975. One of the consequences of changing the virtual screen width is
  976. that the work-space is erased. Another consequence is that your
  977. virtual work-space will be shortened. OPTIKS only has a limited
  978. amount of memory to work with and if you use more to make the
  979. work-space wider then some will be taken away from the length.
  980. You must use the smallest width possible to hold your graphics
  981. and then you will have the most length possible.
  982.  
  983. c. EMS memory 
  984.  
  985. The EMS option from the Environment Config Virtual menu controls
  986. how EMS is allocated. Normally OPTIKS checks for free EMS memory
  987. and grabs any that is not being used for itself. OPTIKS will
  988. release this memory when you quit from the program. There may be
  989. times when you do not want OPTIKS to use the EMS memory or you
  990. wish to limit the amount of EMS memory that OPTIKS uses.
  991.  
  992. ALL 128 256 12 MEG B-1.5M C-2M D-3M E-4M UALLOC 
  993.  
  994. ALL is all available EMS memory. 
  995.  
  996. 128 to 4M are the various chunks you can force OPTIKS to take. If
  997. OPTIKS can't take the amount specified, it won't take any.
  998. UNALLOC is the option which unallocates any existing EMS memory.
  999. You must allocate any memory OPTIKS has previously allocated in
  1000. order to allocate EMS memory differently.
  1001.  
  1002.  
  1003. d. Miscellaneous Options 
  1004.  
  1005. The CONFIG menu bar looks like this: 
  1006.  
  1007. VIRT TALK SCREEN PRINTER KEEP DISPLAY BLIP 
  1008.  
  1009. VIRT and SCREEN have been discussed. PRINTER and KEEP are
  1010. discussed below. This section includes TALK and BLIP which are
  1011. the kinds of things that programmers do when they are not being
  1012. watched.
  1013.  
  1014. TALK is an experiment in using the PC speaker for voice. This
  1015. only works on 4.77 Mhz PC's. If you have a faster PC the voice is
  1016. not really recognizable. The TALK function is set to echo through
  1017. the speaker a letter for each letter pressed. Try it, say that's
  1018. interesting, and then turn it off.
  1019.  
  1020. BLIP is a sound affect that sounds a little like a Star Wars
  1021. sound.  It is to inform you when significant events occur. If you
  1022. work in a quiet office where the sound of OPTIKS annoys those
  1023. around you, it can be turned off.
  1024.  
  1025. DISPLAY shows you many of the miscellaneous configuration
  1026. options.
  1027.  
  1028. e. Printer options 
  1029.  
  1030. OPTIKS can print out graphics on a variety of printers. OPTIKS is
  1031. not intended for use in printing except as a means of producing a
  1032. draft quality image. Other programs print much better than
  1033. OPTIKS.  OPTIKS should be used with desk top publishing programs
  1034. or other graphics programs to make those programs work better.
  1035. You might want to use OPTIKS printing to produce an idea of what
  1036. an image will look like when included in other applications.
  1037. OPTIKS is generally faster than other programs because it just
  1038. prints what it has without trying to translate the image to fit
  1039. on your output.  OPTIKS can be considered a "Quick and Dirty"
  1040. approach to printing.  When you choose PRINT from the OPTIKS main
  1041. menu, you will have to decide between:
  1042.  
  1043. PRINTER FILE CAPCard 
  1044.  
  1045.  
  1046. Choose the printer option if you want to go directly out to a
  1047. printer port. FILE is if you want the output of OPTIKS to go to a
  1048. file. You can use this if you want to use OPTIKS output with the
  1049. INCLUDE program which is on the OPTIKS Shareware diskette or you
  1050. want to print the file later. You can copy the printer file to
  1051. the printer by using the DOS COPY command. If you save your
  1052. printer output in a file called PR-OUT.PRT then you would enter:
  1053.  
  1054. COPY/B PR-OUT.PRT LPT1: 
  1055.  
  1056. The /B option tells DOS not to stop at the End-of-File marker. In
  1057. graphics, the End-of-File marker might appear naturally as part
  1058. of an image pattern and should not be interpreted as the actual
  1059. end of file. 
  1060.  
  1061. CAPCard is a LaserMaster CAPCard which is a card that goes into
  1062. your PC and directly drives most laser printers. The card is many
  1063. times faster than a normal laser printer and is a cost effective
  1064. way of upgrading inexpensive laser printers to HPCL and even
  1065. Postscript in an environment where speed is important. The
  1066. CAPCard option will not work if the DJET driver is used. You must
  1067. disable DJET and load in the other driver to make OPTIKS work
  1068. correctly with a CAPCard. At publication time I am being mailed a
  1069. CAPCard for evaluation and I hope to have the bugs in this
  1070. section worked out.
  1071.  
  1072. f. Saving the CONFIG.OK file 
  1073.  
  1074. OPTIKS can KEEP options by selecting the KEEP function from the
  1075. ENVIRONMENT/CONFIG menu. The options are kept in a small file
  1076. called CONFIG.OK. This file contains all of the options that you
  1077. have set including all macros. When OPTIKS starts up it looks on
  1078. the current directory for the CONFIG.OK file and will use one
  1079. when it finds one.
  1080.  
  1081. g. Debug Break Points 
  1082.  
  1083. The BREAK option can be accessed by pressing Ctrl-B when in view
  1084. mode and allows for debug check points. This is only useful if
  1085. you are in competition with OPTIKS and need to know how OPTIKS
  1086. does something. You can set one of the break points by selecting
  1087. a break point and an INT 3 will be issued just before entering
  1088. that function. If you are in DEBUG.COM or other debugger, you can
  1089. run OPTIKS until the interrupt is encountered and single step
  1090. through a routine.
  1091.  
  1092. BREAK is the most dangerous thing you can fool with in OPTIKS.
  1093. OPTIKS has reassigned some of the interrupts when it loads so
  1094. make sure that you do not quit out of the debugger. If you do not
  1095. exit OPTIKS through the /QY option, you computer will hang up
  1096. requiring a red switch restart.
  1097. CHAPTER 13 - Draw functions. 
  1098.  
  1099. OPTIKS allows you to draw LINES, BOXES, ELLIPSES and POINTS. It
  1100. will allow (in a future release) to fill. There is no "undo" in
  1101. OPTIKS so be careful and save you work before doing anything
  1102. drastic.
  1103.  
  1104. LINES - these are classic rubber band lines. You draw a line by
  1105. pointing to one end of a line and pressing enter key, and then
  1106. moving to the other end of the line and pressing enter key.
  1107. Before pressing the enter key for the second time, you can
  1108. "float" the line, by pressing the delete key. Pressing the delete
  1109. key again will "freeze" the line and go back into rubber band
  1110. mode. Float will work on all drawing routines as well as all
  1111. ranges.
  1112.  
  1113. BOXES - Selecting BOX will allow you draw rectangles and squares. 
  1114. First you point to the upper left hand corner of the box and then
  1115. stretch out a box by moving the lower right hand corner of the
  1116. box.
  1117.  
  1118. ELLIPSES - Circles and ellipses can be drawn by pointing to the
  1119. center of the ellipse and then stretching out the ellipse by
  1120. moving the finger. A circle is a special ellipse. Since different
  1121. screens have different aspect ratios, there is no way to be sure
  1122. that you have a circle right.
  1123.  
  1124. POINT - this is like the old toy "etch-a-sketch". Pressing enter
  1125. starts the line and pressing enter again stops it.
  1126.  
  1127.               ╔══════════════════════════════════════╗
  1128.               ║          SHADE PATTERNS              ║
  1129.               ║   Make a Selection and Press Enter   ║
  1130.               ║        Press Esc to Exit             ║
  1131.               ╚══════════════════════════════════════╝
  1132.     Solid Black
  1133.       ╔══════════════════════════════════════════════════════╗
  1134.       ║ BLACK         HERRING                                ║
  1135.       ║ BRICK         HAPPY                                  ║
  1136.       ║ BUGS          HEX                                    ║
  1137.       ║ CHECKERS      FHORIZ                                 ║
  1138.       ║ CONFETTI      LIPS                                   ║
  1139.       ║ DIAG          RADIATE                                ║
  1140.       ║ DOLLAR        SM CHECKS                              ║
  1141.       ║ EYES          VERT                                   ║
  1142.       ║ GRAY          WHITE                                  ║
  1143.       ╚══════════════════════════════════════════════════════╝
  1144.  
  1145. Figure 5. Shade Pattern Selection Menu. 
  1146.  
  1147. SHADE - This determines a shade pattern that will be used in
  1148. drawing the drawing lines, and they will be used for FILL when
  1149. that is done. There are about a dozen or so patterns and they
  1150. cover all of the standard types and a few odd ones. They are 16 *
  1151. 8 dot patterns.
  1152.  
  1153. WIDTH - This selects how many dots wide a line can be drawn as. A
  1154. line can be 1 to 8 dots. (when I say line I mean the lines of a
  1155. box or an ellipse as well as rubber bands or points.) 
  1156.  
  1157. APPLY - this controls how a dot will be applied to the picture.
  1158. If you are drawing a white line on a white background you cannot
  1159. see the line. With apply, you can change the method and color of
  1160. point writing. The choices are:
  1161.  
  1162.    PUNCH - this means punch a hole and put a dot there no matter
  1163.            what the background was. This puts a white dot in on 
  1164.            the picture. 
  1165.  
  1166.    XOR   - This puts a white dot on black points and a black dot
  1167.            on white points. Lines drawn with XOR will always be 
  1168.            visible. 
  1169.  
  1170.    OR    - This lays in or merges with the background. It does 
  1171.            not erase what was there ever, but merges with it. 
  1172.  
  1173.    NEG PU - Negative punch - puts a black dot down. 
  1174.  
  1175.    NEG XOR- Puts a Black dot down using the xor rules. (I am not
  1176.             sure that this does anything!) 
  1177.  
  1178.    NEG OR -  ORs a black dot down. 
  1179.  
  1180. CHAPTER 14 - Scanning. 
  1181.  
  1182. OPTIKS supports Canon IX-12 scanners using the Canon supplied
  1183. software drivers and DFX Handy Scanners (see appendix G. for
  1184. switch settings on Canon card and software installation.)
  1185.  
  1186. The way scanning works is as follows: 
  1187.  
  1188. Step 1 - select a range. This is the area where the scan will go.
  1189. You can press F2 after selecting the range option and the scan
  1190. will use up the whole work space as much as possible. 
  1191.  
  1192. Step 2 - Select a starting point. This is the distance down the
  1193. page that you want to start the scan. This is the distance down
  1194. the piece of paper, not the screen, although I am using the
  1195. finger to select this value. When you select starting point,
  1196. press ALT-I to get the index on the screen so you can get a feel
  1197. for how many dots down the page you will be starting. Normally
  1198. you would press the HOME key and go to the upper left hand corner
  1199. so that you would scan the whole piece of paper. 
  1200.  
  1201. Step 3 - Select OPTIONS. You must select how many DPI you want to
  1202. scan at and at what density etc., to scan at. 
  1203.  
  1204. Step 4 - Start the scan. The scanner will pull the paper through
  1205. the scanner and the picture will be transferred to the OPTIKS
  1206. work space. Press ALT-C to view the progress of the scan if it is
  1207. slow. Every time you press ALT-C while the Hour Glass is on the
  1208. screen the screen will clear and any work so far will be
  1209. displayed. 
  1210.  
  1211. CHAPTER 15 - Mandelbrots. 
  1212.  
  1213. Mandelbrots are found in the DRAW menu of OPTIKS. They are not a 
  1214. true graphics editing function, but OPTIKS is a convenient
  1215. platform for creating a viewing Mandelbrot sets. 
  1216.  
  1217. Mandelbrots are those neat looking germ like swirls that appear
  1218. from time to time on the covers of computer magazines. They seem
  1219. to sell magazines, but I doubt if anyone will buy OPTIKS just for
  1220. the Mandelbrot set. 
  1221.  
  1222. OPTIKS uses integer arithmetic. I once was asked if I supported
  1223. the math coprocessor. I can go faster than the coprocessor using
  1224. integers for the kind of arithmetic that graphics needs. OPTIKS
  1225. produces Mandelbrots about 10 times faster than "C" language
  1226. floating point and about as fast a coprocessor in calculating
  1227. Mandelbrots. 
  1228.  
  1229. A section of the Mandelbrot set 1024 by 1024 takes about 3 hours
  1230. on my 20 mhz 80386 Dyna. This would take two days on a 4.77 PC.
  1231. Using "C" language floating point this would take two weeks on
  1232. the PC. 
  1233.  
  1234. In addition to speed OPTIKS offers the ability to create truly
  1235. huge landscapes (limited only by patience and the stability of
  1236. the power lines.) OPTIKS allows you to produce 16 color sets or
  1237. Dither the sets to black and white. Dithered Mandelbrots look
  1238. marvelous. They have a 3D texture that is great and they print
  1239. out on laser printers at 300 DPI with amazing clarity. 
  1240.  
  1241. Mandelbrot Strategy. 
  1242.  
  1243. Step 1 - Select COLOR Planes. If you are going to create color
  1244. Mandelbrots, you must select COLOR/PLANES/4 before you select
  1245. RANGE. RANGE will use the color method to calculate the
  1246. Mandelbrot
  1247.  
  1248. Set parameters. If you change color planes, you must reselect the
  1249. range. 
  1250.  
  1251. Step 2 - Select RANGE. Please do step 1 first. (It seems strange
  1252. to have to write that last sentence, but I know I will get phone
  1253. calls about this.) Range is the BOX that you will fill in with
  1254. the Mandelbrot landscape. Selecting a small box assures that you
  1255. won't have to wait very long. When you are exploring always use a
  1256. small box, you won't get much detail, but at least you will get
  1257. something in reasonable time. 
  1258.  
  1259. Step 3 - Enter PMAX. This is the left hand coordinates of the
  1260. portion of the Mandelbrot set that you will be viewing. 
  1261.  
  1262. Step 4 - Enter PMIN. This is the right bound. 
  1263.  
  1264. Step 5 - Enter QMIN. This is the bottom bound. 
  1265.  
  1266. Step 6 - Enter QMAX. This is the top bound. 
  1267.  
  1268. I use the following for a take off point. PMAX= -.74 PMIN= -.75
  1269. QMAX= .12 QMIN= .113 This is from the cover of a recent Micro C
  1270. magazine. It has some neat curls in it and you have enough room
  1271. for some zooms. 
  1272.  
  1273. You must also enter: 
  1274.  
  1275. ITERATIONS. This is a number larger than 100. The larger the
  1276. number, the slower the program will run, but you will get more
  1277. color information in the darker areas of the picture. This will
  1278. generally give you crisper information. This must be less than
  1279. 32000. 
  1280.  
  1281. MODULUS. This is the Mandelbrot "blow-up" point. It should be
  1282. over 1000, but not larger than 16000 due to limits of the integer
  1283. arithmetic that I use. The lower the number the faster the set
  1284. will run, but higher number give more detail and less noise.  The
  1285. method that I use to generate the sets produces some noise in the
  1286. "lowlands" which are the flat uniform areas out away from the
  1287. action. The action itself comes out well. 
  1288.  
  1289. You may select if you like a color method. This affects the way
  1290. OPTIKS treats the colors. Normally, the count of iterations at
  1291. blow up is used to determine the color. OPTIKS allows you to
  1292. shift this value to the right dividing it by 2. Colors are
  1293. interpreted modulo 16 so that colors start counting over again
  1294. after 15. Low shift values give small regions of color which
  1295. repeat. Large values of shift give broader regions of color which
  1296. do not repeat as often. Low values give "busy" highly detailed,
  1297. but difficult to view landscapes. (The look very grainy). High
  1298. values give better views, but some detail is lost. 
  1299.  
  1300. Dither uses a process of converting colors to patterns of dots
  1301. which comes out very well in OPTIKS. Dither and color planes are
  1302. mutually exclusive. You can't dither in color. 
  1303.  
  1304. I get best results using dither and a shift of 2 or three. 
  1305.  
  1306. The strategy continues. 
  1307.  
  1308. Select a small range, and all of the parameters and GO. Wait a
  1309. while watching the hour glass. Press Alt-C and the screen will
  1310. clear, showing work in progress. When you have seen enough press
  1311. Esc to stop the works. 
  1312.  
  1313. ZOOM. Once you get a picture you can ZOOM (or Pan) the picture.
  1314. Since OPTIKS has a work space much bigger than the image you can
  1315. zoom in on a section that you did not actually paint. Or you can
  1316. specify a zoom area bigger than the original picture and this
  1317. will Pan (or step back). Zooming recalculates the Pmax, Pmin,
  1318. Qmax and Qmin values. The ZOOM function will remember what your
  1319. last range was and use that for the calculations. The area you
  1320. ZOOM does not have to be completely in or out of the original
  1321. range. You can zoom into areas that you did not completely paint.
  1322.  
  1323.  
  1324. Do not change the range before zooming. The correct order is
  1325. RANGE, GO, and ZOOM then GO. If you change the range then you
  1326. must select GO and then ZOOM in on the new range. 
  1327.  
  1328. Do not ZOOM in forever. The smallest value that the arithmetic
  1329. can express in OPTIKS is about .00000001. If you go too deep you
  1330. will hit this limit and get a screen of white space. 
  1331.  
  1332. Keep your ranges and zooms roughly square so that you don't have
  1333. to worry about aspect ratios. If you have funny shaped zooms you
  1334. will have squashed pictures. 
  1335.  
  1336. When you get a picture that you like then make a very large range
  1337. and select go. Come back a few hours (or days) later and save the
  1338. results. 
  1339.  
  1340. Appendix A. Common Problems 
  1341.  
  1342. a) Get a blank screen after typing OK
  1343.  
  1344. It is quite possible that OPTIKS is getting confused over what
  1345. type of video card you have attached and what kind of screen that
  1346. it is attached to. Sometimes, if your motherboard switch settings
  1347. are set to monochrome and you have and EGA or VGA card, OPTIKS
  1348. will try and set you to Hercules mode. Even though you card may
  1349. support a Hercules setting, the board may not want to shift into
  1350. Hercules emulation. Since there is no standard way to set
  1351. Hercules graphics mode, it is possible that you card my not
  1352. respond. Other graphics combinations can through off the OPTIKS
  1353. identification routines. If you have an EGA or VGA or a card
  1354. which supports CGA graphics and OPTIKS is giving you a blank
  1355. screen then try entering:
  1356.  
  1357.     OK ?
  1358.  
  1359. The question mark will tell OPTIKS to go directly to CGA high
  1360. resolution mode without trying to check on video card type. Once
  1361. you get into CGA mode use the /ESV option to select a video card
  1362. which you can support and try it. Once you get the best
  1363. resolution you can then use the KEEP menu item to save your
  1364. config.ok.
  1365.  
  1366. Sometimes it helps to enter MODE CO80 from the DOS prompt and
  1367. then OPTIKS has a much easier time identifying your video card.
  1368.  
  1369.  
  1370.   
  1371. c) Printer prints in negative. 
  1372.  
  1373. There is an option under printer options that allows you to set
  1374. NEGATE or negative. Some pictures appear on the screen correctly
  1375. but print out awful, the best thing to do is to set the NEGATE
  1376. off and print the picture again.
  1377.  
  1378. d) Right side of image is cut off.
  1379.  
  1380. You have not set the virtual screen width. The work space is only
  1381. 1024 pixels wide when the OPTIKS starts up. If you are dealing
  1382. with 400 DPI images it is time to set the Virtual width as wide
  1383. as possible (perhaps 4096) to get the whole picture in. 
  1384.  
  1385. e) Bottom of image is cut off. 
  1386.  
  1387. The size of an image that can fit into OPTIKS is limited by your
  1388. machines memory. If you have EMS memory you can fit BIG pictures
  1389. into OPTIKS work space. If you have low memory and no EMS optiks
  1390. cannot fit the whole picture in and gives up reading the image
  1391. when you run out of room to store it. I would suggest that you
  1392. get out OKEMS and try it. OKEMS should be on the OPTIKS
  1393. distribution diskette and it is available for download at My BBS
  1394. at (914) 623-0038.
  1395.  
  1396. f) AutoCad or GEM draw problems.
  1397.  
  1398. Unfortunately OPTIKS does not make any attempt to look at what is
  1399. being written out before it is written out. A pixel image will
  1400. always be a pixel image to OPTIKS. If you try to write out a file
  1401. in a draw format, what you get is horizontal lines which
  1402. approximate the raster lines of the image. These work OK in GEM
  1403. and AutoCad and even Ventura, but they take up much memory, and a
  1404. large complex image will blow Acad out of the water, and GEM and
  1405. Ventura could refuse to load very large pictures. 
  1406.  
  1407. I am afraid that if you really need AutoCad or GEM images that
  1408. you should get Corel Draw or Micrographics Designer and do the
  1409. job right. The OPTIKS images are good for putting raster images
  1410. into AutoCad drawings. You can get realistic people and trees
  1411. into the picture as long as they are small, but if you need to
  1412. convert a large image into a real drawing then use one of the
  1413. products designed to that.
  1414.  
  1415. DRAW file formats are basically incompatible with bit mapped
  1416. images. OPTIKS tries to allow a limited transfer of information
  1417. to the draw formats by drawing horizontal lines or dots that
  1418. correspond to the pixels in the image. OPTIKS will translate
  1419. WHITE dots on the screen to BLACK dots and lines in the draw
  1420. format. OPTIKS ignores the black areas of the screen. DRAW
  1421. formats are saved in the same way that normal files are saved
  1422. (see SAVING files if you have not already done so). Make the
  1423. saved range as small as possible. Draw formats tend to be very
  1424. large, especially AutoCAD DXF files. If you are using AutoCAD use
  1425. DXB or SLD files to save space and speed processing. When you
  1426. read the file into another program, the files may have to be
  1427. sized again. Ventura will automatically size SLD and GEM Draw,
  1428. but AutoCAD will have some minor problems with the DXF and DXB.
  1429. You will have to use the ZOOM command in AutoCAD to get the
  1430. picture right. DXF and DXB files use whatever color is defined
  1431. for lines so make sure that you don't have a black screen and
  1432. black lines or you won't see anything. 
  1433.  
  1434. g) Can't scan. 
  1435.  
  1436. There are two reasons why OPTIKS would not scan. First you must
  1437. have a Canon Scanner with the IX12 handler that comes with you
  1438. scanner. You can get the latest version of the handler off of my
  1439. BBS. Canon has given me permission to distribute it to OPTIKS
  1440. users. The second reason could be that the switch settings on the
  1441. scanner are wrong. If you have and EGA or VGA you must change the
  1442. switches on you scanner card. Please refer to the section on
  1443. scanning and the appendix of scanner switch settings.
  1444.  
  1445. You must also set all of the options, including the range and
  1446. starting point of the scan in order to get the scanner to work.
  1447. Please check these settings and try again.
  1448.  
  1449. If you have 386max or QEMMS or DoubleDos going, make sure that
  1450. they know about the scanner memory frame.
  1451.  
  1452. h) Can't read a GIF file.
  1453.  
  1454. OPTIKS can read NON-INTERLACED gifs up to 16 colors. OPTIKS will
  1455. not be able to read 256 color GIFS and it will read interlace
  1456. GIFS all scrambled. Use VPIC by Bob Montgomery. I have not
  1457. released color OPTIKS because VPIC is still a better product.
  1458.  
  1459.  
  1460. i) Can't read a TIFF file.
  1461.  
  1462. OPTIKS can not read gray scale tiffs. OPTIKS will not read tiffs
  1463. with proprietary compression schemes and OPTIKS cannot read the
  1464. few group 4 CCITT compression tiffs around.
  1465.  
  1466. j) Can't read a Printshop Graphic file.
  1467.  
  1468. OPTIKS can read only a few types of PrintShop graphics. It can't
  1469. read every graphic on the disk. There is now sure way to be able
  1470. to read them all and the new PrintShop is out now with new
  1471. formats that I have not looked at yet. 
  1472.  
  1473. k) Can't read a PC Paint or Grasp file. 
  1474.  
  1475. GRASP and PC PAINT use a funny way of reading files - from the
  1476. bottom up. I know how to read the files, but I am too lazy to
  1477. change thousands of lines of code to read a very few files. There
  1478. are Utilities on BBS's which will convert the PIC files to PCX
  1479. and back.
  1480. Appendix B. Menu Tree
  1481.  
  1482. FILE
  1483.    READ
  1484.    SAVE
  1485.    MERGE
  1486.    LIST
  1487.    INFO
  1488.    CHECK
  1489. ENVIRON
  1490.    CONFIG
  1491.       VIRT
  1492.          1024
  1493.          2048
  1494.          4096
  1495.          8192
  1496.          EMS
  1497.             ALL
  1498.             128
  1499.             256
  1500.             512
  1501.             MEG
  1502.             B-1.5M
  1503.             C-2M
  1504.             C-3M
  1505.             D-4M
  1506.             UNALLOC
  1507.          DISPLAY
  1508.       SCREEN
  1509.          VIDEO
  1510.          COLOR
  1511.             1 PLANE
  1512.             4 PLANES
  1513.       PRINTER - See printer config options
  1514.       KEEP
  1515.       DISPLAY
  1516.       BLIP
  1517.          ON
  1518.          QUIET
  1519.       RANGE
  1520.          BOX
  1521.          LINE
  1522.    SCREEN - see above
  1523.    MACROS
  1524.       1 TO 9
  1525.    ERASE
  1526.       YES
  1527.       NO
  1528. PRINT
  1529.    PRINTER
  1530.    FILE
  1531.    CAPCARD
  1532.       RANGE
  1533.       PAGE
  1534.       LINEF
  1535.       GO
  1536.       CONFIG
  1537.          MODEL
  1538.             DOT
  1539.                IBM
  1540.                EPSON
  1541.                8510
  1542.                TOSHIBA
  1543.                PROPRT
  1544.                24PROPRT
  1545.                GEMINI
  1546.             LASER
  1547.                HP LASERJET
  1548.                RICOH
  1549.                CANON
  1550.          PORT
  1551.             LPT
  1552.                1 TO 3
  1553.             COM
  1554.                BAUD
  1555.                PARITY
  1556.                INIT
  1557.                1 TO 3
  1558.          DENSITY
  1559.             1 TO 6
  1560.          ORIENT
  1561.             PORTR
  1562.             LAND
  1563.          NEGATE
  1564.             NEGATE
  1565.             POSIT
  1566.          STRIKES
  1567.             ONE
  1568.             TWO
  1569.       SPACE
  1570. IMAGE
  1571. DRAW
  1572.    LINE
  1573.    ELLIPSE
  1574.    BOX
  1575.    FILL
  1576.    POINT
  1577.    TEXT - See type options
  1578.    SHADE
  1579.    WIDTH
  1580.      1 TO 8
  1581.    APPLY
  1582.       PUNCH
  1583.       XOR
  1584.       OR
  1585.       NEG PU
  1586.       A-NEGX
  1587.       B-NEG0
  1588.    MANDEL
  1589.        RANGE
  1590.        PMAX
  1591.        PMIN
  1592.        QMAX
  1593.        QMIN
  1594.        ITER
  1595.        MODULUS
  1596.        COLORS
  1597.           0 TO 4
  1598.           DITHER
  1599.              OFF
  1600.              ON
  1601.           PLANES
  1602.              1
  1603.              4
  1604.        GO
  1605.        ZOOM
  1606. TYPE
  1607.    TYPE
  1608.    FONT
  1609.       0 TO 4
  1610.    SCALE
  1611.       HALF
  1612.       1, 2 OR 4
  1613.    COLOR
  1614.       W ON B
  1615.       B ON W
  1616.       1 - OR
  1617.       2 - OR
  1618.       3 - AND
  1619.       4 - AND
  1620.       5 - XOR
  1621.       6 - XOR
  1622. SCAN
  1623.    IX12
  1624.    PRINCETON
  1625.       RANGE
  1626.       LOCATE
  1627.       DEFAULT
  1628.          HREDUC
  1629.             NON
  1630.             HALF
  1631.             QUARTER
  1632.          RESOL
  1633.             75DPI
  1634.             150DPI
  1635.             200DPI
  1636.             300DPI
  1637.          MODE
  1638.             NORMAL
  1639.             2-OR
  1640.             DITHER
  1641.          DENSITY
  1642.             STANDARD
  1643.             DARK
  1644.             LIGHT
  1645.          NEGATE
  1646.             POSIT
  1647.             NEG
  1648.       SCAN
  1649. QUIT
  1650. Appendix C. Converting a MAC file to a PCX file.
  1651.  
  1652. The following is a step by step procedure to convert an Apple
  1653. MacPaint file into a Zsoft PC Paintbrush PCX file. This is a
  1654. useful example because it does the kind of things that most
  1655. people will want to do with OPTIKS. 
  1656.  
  1657. Before starting up OPTIKS make sure that the OPTIKS program is
  1658. available and that you have the disk with MAC files on it. You
  1659. may want to copy the MAC files onto your hard disk into an OPTIKS
  1660. subdirectory along with the OPTIKS program. Start up the OPTIKS
  1661. program. Enter OK and press return.
  1662.  
  1663. The main menu will greet you. If the screen is blank then refer
  1664. to the Problems section in appendix A. 
  1665.  
  1666. Since you are converting a MAC file to a PCX file, choose the
  1667. FILE option. Do this by moving the highlighted bar to the FILE
  1668. entry on the menu and press Enter. You may press the F key
  1669. instead. 
  1670.  
  1671. You must first READ the MAC file into the work-space so move the
  1672. highlighted area to READ and press Enter. You may also press the
  1673. R key. 
  1674.  
  1675. The file format selection screen comes up. You can jump right to
  1676. the MAC entry by pressing an M. You may also use the cursor
  1677. control keys to move over and down to the mac entry. Press Enter
  1678. when MAC is highlighted. 
  1679.  
  1680. OPTIKS looks on the disk and finds all files ending in .MAC and
  1681. displays them. If the MAC file has another extension (PIC is
  1682. common) you may not see the file. Also if the file is on another
  1683. disk you will have to change to that disk. If you see the NO
  1684. MATCHING FILES message then you can use the backspace key to move
  1685. over and enter a new file specification so that you can find the
  1686. matching files. For instance you may wish to enter
  1687.  
  1688.  C:\OPTIKS\*.PIC
  1689.  
  1690. instead of C:\OPTIKS\*.MAC. You can change the disk and
  1691. subdirectory here also. 
  1692.  
  1693. If there are some matching files, but they have the wrong
  1694. extension or you are on the wrong disk or in the wrong
  1695. subdirectory you can press the F10 key to get up to the file
  1696. specification line. Type in the correct disk, directory and files
  1697. specification and press enter. Once you get the correct file on
  1698. the screen, move the highlighted bar to the file that you want to
  1699. read and press enter. The hourglass appears on the screen and a
  1700. second or so later the file that you selected will appear on the
  1701. screen. If you see scrambled garbage, the odds are that the file
  1702. is not an Apple Macpaint file. 
  1703.  
  1704. D. Using Color 
  1705.  
  1706. With release 2.08 I have added the ability to show 16 color
  1707. graphics in EGA and VGA modes. The file types supported are ZSOFT
  1708. PCC and PCX, Compuserve GIF and DR's GEM Paint IMG files. I have
  1709. not tested GEM IMG files yet. The default for all systems is
  1710. single plane 2 colors. To change the default you must go to the
  1711. ENVIRONMENT menu down to SCREEN and select PLANES. The planes can
  1712. be either 1 or 4. 
  1713.  
  1714. To use color you must select 4 before you read the file or the
  1715. palette will not be set. If you try to read a normal black and
  1716. white file the planes will be reset to 1. Planes will not work
  1717. unless you are in a valid EGA or VGA mode. Color and Black and
  1718. White graphics can not be mixed. Color images can be saved and
  1719. manipulated a little, but many functions will not work with
  1720. color. No drawing and few of the image manipulators work
  1721. correctly. Typing will be very strange. 
  1722.  
  1723. Some Color images will set the palette so that the menu is nearly
  1724. invisible. The finger moves destructively on the screen and this
  1725. is a real bug which is being addressed Old EGA cards with less
  1726. than 256k on them will show odd patterns on the screen. Owners of
  1727. such cards should order an upgrade to get full use of all of the
  1728. new graphics coming out. 
  1729.  
  1730.  
  1731. E. Using HP Laserjet fonts. 
  1732.  
  1733. 2.08 also saw the ability to read laserjet fonts. There is not
  1734. enough memory to run OPTIKS and keep a font resident so LJ fonts
  1735. are treated as files. /FR will read files and fonts, but ERASES
  1736. the work space first. Use /FM (merge) to type on an existing
  1737. graphic. Fonts are XOR'd to the image so that they overlay the
  1738. data in a non-destructive manner. The image will show through the
  1739. letters. This may not be acceptable for some typing. Clear a
  1740. space for the letters using /IFD or /IFE. Since the fonts are
  1741. loaded as files, if a letter is not in the file buffer, the file
  1742. will be re-read from the beginning to find the file. This is very
  1743. slow in large fonts. Fonts up to about 16 point will fit entirely
  1744. in the file buffer and they will go much faster. Since most fonts
  1745. are variable spaced, the backspace key will backspace the width
  1746. of the last letter typed. To erase a letter you re-type it.
  1747. Accurate typing will save you hours of repositioning. 
  1748. F. Supported File Formats. 
  1749.  
  1750.    File types are: R=Raster, V=Vector, L=Language, B=LiBrary 
  1751.  
  1752.     File       Optiks  File  Description/ 
  1753.   Extension    Support Type  Software Source 
  1754.   =========    ======= ====  ================== 
  1755.     .001       Yes     R     Complete FAX page file 
  1756.     .ART       Yes     R     PFS First Publisher Clip Art 
  1757.     .ART       No      ?     Ashton-Tate Byline Clipart 
  1758.     .BAS       Yes     R     Basic Bload/Bsave  
  1759.     .BSG       Yes     R     FONTASY (same as .RAW) 
  1760.     .CA        Read    RB    NewsRoom Pro 
  1761.     .CGM       No      V     Computer Graphics Metafile 
  1762.     .CUT       Yes     R     Dr. Halo, Cut files 
  1763.     .DAT       Read    RB    PrintShop 
  1764.     .DCX       Read    RB    Panasonic Fax PCX libraries. 
  1765.     .DD        No      R     CBM Doodle 
  1766.     .DHP       No      ?     Dr. Halo 
  1767.     .DRW       No      V     Freelance 
  1768.     .DRW       No      V     MicroGrafx 
  1769.     .DRW       No      V     NBI Legend 
  1770.     .DXF       No      V     AutoCad 
  1771.     .EPS       Some    VRL   Encapsulated Post Script 
  1772.     .EV        No      ?     NCN Execuvision 
  1773.     .FG        No      ?     Slidewrite Plus 
  1774.     .GAL       No      ?     Gallery on Exhibit, Graphics Gallery 
  1775.     .GEM       No      V     GEM Draw 
  1776.     .GMF       No      V     Computer Graphics Metafile - Various
  1777.  
  1778.     .GIF       Some    R     Cserve Graphics Interchange format
  1779.     .GX1       No      R     PC PaintBrush 
  1780.     .HPC(L)    Some    RV    Hewlett Packard's LaserJet Graphics
  1781.     .HPG(L)    No      V     Hewlett Packard Graphics Language 
  1782.     .IFF       Yes     R     Amiga Interchange Format File
  1783.     .IMG       Yes     R     DataCopy Wips 
  1784.     .IMG       Yes     R     GEM Paint 
  1785.     .IMG       Yes     R     IBM Image support Facility 
  1786.     .IMG       No      ?     Boeing Graph 
  1787.  
  1788.     File       Optiks  File  Description/ 
  1789.   Extension    Support Type  Software Source 
  1790.   =========    ======= ====  ================== 
  1791.     .MAC       Yes     R     Apple Macintosh Macpaint 
  1792.     .MAK       Yes     R     Apple Macintosh Macpaint, No Header
  1793.     .MSP       Yes     R     Microsoft Windows Paint 
  1794.     .P         No      ?     Ashton Tate Draw Applause 
  1795.     .PCR       Yes     R     OPTIKS/PCRGB 
  1796.     .PCX .PCC  Yes     R     Zsoft PC Paintbrush 
  1797.     .PDA       Yes     R     Palantir Scanner Graphics Files 
  1798.     .PGA       No      R     IBM PG Adaptor image file 
  1799.     .PI1 .PI2  Yes     R     Atari Degas uncompressed images 
  1800.     .PIC       Some    V     Lotus 
  1801.     .PIC       v1.5    R     Mouse systems PC Paint 
  1802.     .PIG       Yes     R     Ricoh Pixel Image Generator file 
  1803.     .PRN       Some    VLR   Post Script, Any print image file 
  1804.     .RAS       Yes     R     Show file Ras format 
  1805.     .RAW       Yes     R     Basic Array format 
  1806.     .RLE       Yes     R     Cserve, Teletext Run Length Encoded 
  1807.     .SLD       Some    V     AutoCad Slide 
  1808.     .SFL       Yes     R     Soft Font Single Letter 
  1809.     .SFP       Yes     R     HP Soft Font 
  1810.     .SHP       Read    RB    Printmaster, Newsmaster 
  1811.     .TIF       Yes     R     Aldus/Microsoft Tag Image Format
  1812.     .WPG       No      RV    Word Perfect Graphics 5.0 
  1813.  
  1814.  
  1815. OPTIKS can either read or write the files Listed as YES, Optiks
  1816. makes a good attempt at reading the files marked as SOME. Some
  1817. files marked YES can only be written or read. Library type files
  1818. and Vector graphics files are not supported by OPTIKS and will
  1819. probably never be supported. The exceptions are Lotus PIC,
  1820. AutoCad SLD and a very few EPS files. Combination of Raster and
  1821. Vector May be supported but for write only and then only Raster. 
  1822.  
  1823. G. CANON SCANNER - Technical information 
  1824.  
  1825. This information is extracted from the CANON IMAGE SCANNER IX-12
  1826.  
  1827. IXHND2 SOFTWARE SPECIFICATIONS from CANON. This guide is for
  1828. using the software with the OPTIKS program for scanning by
  1829. OPTIKS. Other programs will include additional information where
  1830. needed.  The IXHND2.COM program should be executed before
  1831. attempting to use the IX-12 Scanner. The command can be included
  1832. in the autoexec.bat if the scanner is to be used regularly. 
  1833.  
  1834. The command is of the form: 
  1835.  
  1836.     IXHND2 /xy zz 
  1837.  
  1838. Where xy is used to tell the program how the interface board
  1839. switches are set and zz is used to change the interrupt.
  1840.  
  1841.    DO NOT USE THE ZZ PARAMETER WITH OPTIKS. 
  1842.  
  1843.    VALUES OF X. 
  1844.  
  1845.     X Value   I/O Address    JP1   JP2    SW5   SW6 
  1846.       0       308 to 30F    Left  Right   OFF   OFF 
  1847.       1       318 to 31F    Right Right   OFF   ON 
  1848.       2       1A8 to 1AF    Right Left    ON    OFF 
  1849.  
  1850.   The default setting for x is 0. 
  1851.  
  1852. The y value tells the program where the buffer is located in
  1853. memory. Unfortunately the default is C000-C0FF which is the
  1854. location of the EGA Bios. You will probably have to change this
  1855. value and set the jumpers on the board if you have an EGA or VGA.
  1856. Some VGA boards go right up to C7FF. XT hard disk controllers use
  1857. C800 and some of them go up to CC00. I have not listed E000
  1858. settings because that is usually where the EMS buffers are
  1859. located.
  1860.  
  1861.  
  1862.     VALUES OF Y 
  1863.  
  1864.     X Value   MEM Address    JP3   JP4    SW1   SW2   SW3   SW4 
  1865.       0        C000         RIGHT  RIGHT  ON    ON    ON    ON 
  1866.       1        C400         RIGHT  LEFT   OFF   ON    ON    ON 
  1867.       8        C800             N/A       ON    OFF   ON    ON 
  1868.       9        CC00             N/A       OFF   OFF   ON    ON 
  1869.       2        D000         LEFT   RIGHT  ON    ON    OFF   ON 
  1870.       3        D400         LEFT   LEFT   OFF   ON    OFF   ON 
  1871.       A        D800             N/A       ON    OFF   OFF   ON 
  1872.       B        DC00             N/A       OFF   OFF   OFF   ON 
  1873.  
  1874.  
  1875. A typical command line to install the handler if you have a VGA 
  1876. and an XT controller is: 
  1877.  
  1878.        IXHND2 /03 
  1879.  
  1880. with the jumpers set to: 
  1881.  
  1882.          Left Right Left left 
  1883.  
  1884. and the switches set to: 
  1885.  
  1886.          OFF ON OFF ON OFF OFF 
  1887.  
  1888. From reading the documentation this setting will work in most
  1889. systems. 
  1890.  
  1891. The default is /00 (will not work with EGA or VGA). 
  1892.  
  1893. Default jumpers are: 
  1894.  
  1895.          Left Right Right Right 
  1896.  
  1897. Default Switches are: 
  1898.  
  1899.          ON ON ON ON OFF OFF 
  1900.  
  1901. PS
  1902. For those of you who read documentation:
  1903. To get out of the annoying shareware message at the end press
  1904. Ctrl-K.
  1905.         KPG